package datas;

import java.util.Calendar;
import java.util.Date;

public class Data12
{
	public static void main(String[] args)
	{
		Date d1 = new Date();
		Calendar cal1 = Calendar.getInstance();
		cal1.setTime(d1);
		
		Date d2 = cal1.getTime();
		System.out.println(d2);
		System.out.println(cal1.getTimeInMillis());
		
		Date d3 = new Date(1223037627654L);
		System.out.println(d3);
		
	}
}
